package com.ryan.spring.cloud.gateway.service;

import com.ryan.spring.cloud.gateway.model.GatewayDefine;

import java.util.List;

/**
 * Created by kaimin on 21/1/2019.
 * time : 18:18
 */
public interface GateWayDefineService {

    List<GatewayDefine> findAll();

    String loadRouteDefinition() throws Exception;

    GatewayDefine save(GatewayDefine gatewayDefine) throws Exception;

    void deleteById(String id) throws Exception;

    boolean existsById(String id) throws Exception;
}
